package org.wlc.demov3.listener;

import com.wlc.util.JsonResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 王立朝
 * @date 2022/5/12
 * @description: 消息事件监听器
 */
public class MessageEventListener implements EventListener {

    private static final Logger logger = LoggerFactory.getLogger(MessageEventListener.class);


    @Override
    public void doEvent(JsonResult jsonResult) {
        logger.info("给用户{} 发送短信通知（短信）：{}",jsonResult.getCode(),jsonResult.getMsg());
    }
}
